<?php echo form_open('gate/login', array('class'=>'login')); ?>
			<?php if($this->session->flashdata('message')==""):?>
				<strong>User Login:</strong>
			<?php else: echo $this->session->flashdata('message'); ?>
			<?php endif;?>
		<br>
		<p>Email:    <input type=text  class="login_field"  name= username /></p>
		<p>Password: <input type=password  class="login_field" name= password /></p>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input class="reg" type="submit" value="Login" />
<?php echo form_close(); ?>
